package db;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 计算机系 ITAEM 摆渡人
 * @description
 * @date 2022/9/21 17:36
 */
public class Token implements Serializable {
    private Integer id;
    private String token;
    private String username;
    private LocalDateTime createTime;

    public Token() {
    }

    public Token(Integer id, String token, String username, LocalDateTime createTime) {
        this.id = id;
        this.token = token;
        this.username = username;
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
